package com.cqie.secondhandtransaction.service;

import com.cqie.secondhandtransaction.DTO.ChatInfoDTO;
import com.cqie.secondhandtransaction.entity.ChatInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author gdy
 * @since 2025-02-10
 */
public interface ChatInfoService extends IService<ChatInfo> {

    void saveMessage(ChatInfo chatInfo);

    List<ChatInfoDTO> getMessagesByChatCode(String chatCode);

}
